package xing.application.api.client;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;

/*******************************************************************************************
 * 类描述：  
 *
 * @author: dustin
 * @date： 2017-10-16 10:26
 * @Description:
 * @version 1.0.0
 *
 *
 * Version    Date       ModifiedBy                 Content  
 * -------- ---------    ----------         ------------------------  
 * 1.0.0     2017-10-16    Administrator                            
 *******************************************************************************************
 */
@Service
public class PmsClient extends Client {
    @Value("${web.pms-api-url}")
    protected String apiUrl;

    @PostConstruct
    public void  init(){
        this.BASE_URL=apiUrl;
    }

}
